package com.yunshang.shoppingmall.entity;

import java.io.Serializable;
import java.util.Date;

public class ProductClassfy  implements Serializable {
    private Integer productId;

    private String productName;

    private Integer repId;

    private String productDesc;

    private String productUnit;

    private String supplier;

    private String productNo;

    private Integer classId;

    private String productUpState;

    private Date uptime;

    private String productshortname;

    private String productseries;

    private Integer activeSign;

    private String proImg;

    private String classifyName;

    private Integer upperRankId;

    private String detailContent;

    private String activeSignName;

    public String getActiveSignName() {
        return activeSignName;
    }

    public void setActiveSignName(String activeSignName) {
        this.activeSignName = activeSignName;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public Integer getRepId() {
        return repId;
    }

    public void setRepId(Integer repId) {
        this.repId = repId;
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc == null ? null : productDesc.trim();
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit == null ? null : productUnit.trim();
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier == null ? null : supplier.trim();
    }

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo == null ? null : productNo.trim();
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getProductUpState() {
        return productUpState;
    }

    public void setProductUpState(String productUpState) {
        this.productUpState = productUpState == null ? null : productUpState.trim();
    }

    public Date getUptime() {
        return uptime;
    }

    public void setUptime(Date uptime) {
        this.uptime = uptime;
    }

    public String getProductshortname() {
        return productshortname;
    }

    public void setProductshortname(String productshortname) {
        this.productshortname = productshortname == null ? null : productshortname.trim();
    }

    public String getProductseries() {
        return productseries;
    }

    public void setProductseries(String productseries) {
        this.productseries = productseries == null ? null : productseries.trim();
    }

    public Integer getActiveSign() {
        return activeSign;
    }

    public void setActiveSign(Integer activeSign) {
        switch (activeSign){
            case 5: activeSignName="兑换专区";break;
            case 4: activeSignName="零售专区";break;
            case 3: activeSignName="体验专区";break;
            case 7: activeSignName="活动专区";break;
        }
        this.activeSign = activeSign;
    }

    public String getProImg() {
        return proImg;
    }

    public void setProImg(String proImg) {
        this.proImg = proImg == null ? null : proImg.trim();
    }

    public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName == null ? null : classifyName.trim();
    }

    public Integer getUpperRankId() {
        return upperRankId;
    }

    public void setUpperRankId(Integer upperRankId) {
        this.upperRankId = upperRankId;
    }

    public String getDetailContent() {
        return detailContent;
    }

    public void setDetailContent(String detailContent) {
        this.detailContent = detailContent == null ? null : detailContent.trim();
    }
}